home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Extensions
- Sent: 6/26/96 10:02 AM
- Received: 6/26/96 10:11 AM
- From: Mark Lanett, mlanett@meer.net
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Release 1 has extensions samples: ODFDraw publishes a subclass of the
- scripting extension, and ODFCyberStarter publishes a subclass of the main
- Cyberdog extension. In both these cases the part is acting as a server and
- some other part is acquiring the extension and calling it. Calling an
- extension is nothing special, since it's just a SOM object. You do have to
- find a server part first, which may mean something like walking the OD
- component hierarchy and calling HasExtension/GetExtension on each part.
-
- In Release 2 there will be more examples: Container and Bitmap act as
- server and client for a new sample extension, and Bitmap also publishes the
- Cyberdog extension (and also calls it itself).
-
- markl
-
- At 9:04 AM 6/26/96, The3Furies@aol.com wrote:
- >Are there any examples available of writing extensions in ODF, and/or of
- >calling a parts extensions? I have looked at the tech note, and at
- >the Text & Sound editors on DR4 for implementation examples, but
- >could use further help specific to ODF. Also, I have not yet found any
- >examples of calling extensions.
-
-
- --
- Mark Lanett, OpenDoc Framework, Apple Computer
-
-